package com.epoint.mobileoa.ui.todolist;

import java.util.HashMap;

import android.os.Message;

import com.epoint.mobileoa.bizlogic.SuperView;
import com.epoint.mobileoa.bizlogic.Task;
import com.epoint.mobileoa.http.HttpHelp;

/**
 * @author liyc
 * @time 2012-3-19 下午3:27:24
 * @annotation 
 */
public class ShouwenViewTask extends Task {

	public ShouwenViewTask(SuperView con, HashMap<String, Object> param) {
		super(con, param);
	}

	@Override
	public void exectue(Message mess) throws Exception {
		HashMap<String, String> params = new HashMap<String, String>();
		params.put("zhusongrenguid", getParam().get("zhusongrenguid").toString());
		params.put("chaosongrenguid", getParam().get("chaosongrenguid").toString());
		params.put("messageitemguid", getParam().get("messageItemGuid").toString());
		params.put("operatorguid", getParam().get("operatorGuid").toString());
		params.put("pviguid", getParam().get("pviGuid").toString());
		params.put("workitemguid", getParam().get("workItemGuid").toString());
		params.put("operationguid", getParam().get("operationGuid").toString());
		params.put("operatestatus", getParam().get("operateStatus").toString());
		params.put("handleopinion", getParam().get("handleOpinion").toString());
		params.put("transitionguid", getParam().get("transitionGuid").toString());
		String bs = HttpHelp.post(getCon().fp.getSeamurl()+"?requestType=GongwenDealBtn", params, null);
		setMessageToRefreshUI(mess, getCon(), bs);
	}

}
